package com.puppy.httploader
{
	import flash.events.Event;
	import flash.utils.ByteArray;
	
	public class PuppyEvent extends Event
	{
		/**
		 *一段文件加载完成 
		 */		
		public static var RANGE_DATA_COMPLETE:String = "data_complete";
		
		/**
		 *一段文件中的一部分流加载完成 
		 */		
		public static var RANGE_DATA_STREAMING:String = "data_streaming";
		
		/**
		 *持续的流加载，从psl到pl 
		 */		
		public static  var PSTREAMING:String = "pstreaming";
		public var rangeBytes:ByteArray;
		public function PuppyEvent(type:String, bytesArray:ByteArray = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			rangeBytes = bytesArray;
		}
	}
}